﻿
function Validate() {
    var obj_AreaName = document.getElementById('ctl00_ctl00_ASPxSplitter1_Content_ContentSplitter_MainContent_popup_txtAreaName_I');
    var obj_AreaDesc = document.getElementById('ctl00_ctl00_ASPxSplitter1_Content_ContentSplitter_MainContent_popup_txtAreaDesc_I');    

    if (obj_AreaName.value == "") {
        alert('Kindly Specify Area Name.')
        obj_AreaName.focus();
        return false;
    }
    if (obj_AreaDesc.value == "") {
        alert('Kindly Specify Area Desc.')
        obj_AreaDesc.focus();
        return false;
    }    

    return true;
}